package com.tedu.egweibo.pojo.vo;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class WeiboDetailVO {
    @ApiModelProperty(value = "微博id",required = true ,example = "1")
    private Integer id;
    @ApiModelProperty(value = "微博内容",required = true ,example = "微博内容")
    private String content;
    @ApiModelProperty(value = "微博创建时间",required = true,example = "2025年01月01号 12时12分12秒")
    @JsonFormat(pattern = "yyyy年MM月dd号 HH时mm分ss秒", timezone = "GMT+8")
    private Date created;
    @ApiModelProperty(value = "发送微博用户的昵称",required = true,example = "昵称")
    private String nickname;
}
